package com.hbun.cxcy.service;

import com.hbun.cxcy.common.utils.PageUtils;
import com.hbun.cxcy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hbun.cxcy.vo.LoginVo;
import com.hbun.cxcy.vo.RegisterVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mahaunyu
 * @since 2022-01-24
 */
public interface UserService extends IService<User> {


    PageUtils queryPage(Map<String, Object> params);


    int register(RegisterVo register);

    String login(LoginVo loginVo);

    void removeByIdsWithCustom(List<Long> ids);

    void updateByIdWithCustom(User user);
}
